#!/bin/sh

nohup redis-server ./redis-master.conf 1>./logs/redis-master.log 2>&1 &
nohup redis-server ./redis-slave.conf 1>./logs/redis-slave.log 2>&1 &

nohup redis-sentinel ./sentinel-1.conf 1>./logs/sentinel-1.log 2>&1 &
nohup redis-sentinel ./sentinel-2.conf 1>./logs/sentinel-2.log 2>&1 &
nohup redis-sentinel ./sentinel-3.conf 1>./logs/sentinel-3.log 2>&1 &